/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package POJO;

import java.io.Serializable;

/**
 *
 * @author nhóm 1 - 10HT
 */
public class NhaCungCap implements Serializable {

	private int _maNCC;
	private String _tenNCC;
	private String _diaChi;
	private String _dienThoai;
	private String _eMail;

	public NhaCungCap(NhaCungCap tmp) {
		this._maNCC = tmp._maNCC;
		this._tenNCC = tmp._tenNCC;
		this._diaChi = tmp._diaChi;
		this._dienThoai = tmp._dienThoai;
		this._eMail = tmp._eMail;
	}

	public NhaCungCap() {
		this._maNCC = 0;
		this._tenNCC = "";
		this._diaChi = "";
		this._dienThoai = "";
		this._eMail = "";
	}

	public NhaCungCap(String _tenNCC, String _diaChi, String _dienThoai, String _eMail) {
		this._maNCC = 0;
		this._tenNCC = _tenNCC;
		this._diaChi = _diaChi;
		this._dienThoai = _dienThoai;
		this._eMail = _eMail;
	}

	public NhaCungCap(int _maNCC, String _tenNCC, String _diaChi, String _dienThoai, String _eMail) {
		this._maNCC = _maNCC;
		this._tenNCC = _tenNCC;
		this._diaChi = _diaChi;
		this._dienThoai = _dienThoai;
		this._eMail = _eMail;
	}

	public int getMaNCC() {
		return _maNCC;
	}

	public void setMaNCC(int _maNCC) {
		this._maNCC = _maNCC;
	}

	public String getTenNCC() {
		return _tenNCC;
	}

	public void setTenNCC(String _tenNCC) {
		this._tenNCC = _tenNCC;
	}

	public String getDiaChi() {
		return _diaChi;
	}

	public void setDiaChi(String _diaChi) {
		this._diaChi = _diaChi;
	}

	public String getDienThoai() {
		return _dienThoai;
	}

	public void setDienThoai(String _dienThoai) {
		this._dienThoai = _dienThoai;
	}

	public String geteMail() {
		return _eMail;
	}

	public void seteMail(String _eMail) {
		this._eMail = _eMail;
	}

	@Override
	public String toString() {
		return this._tenNCC;
	}
}
